#include <iostream>
#include<string>
using namespace std;
class CC{
private:
	int id;
	int fs;
	static int count;
	static int sum;
public:
	CC(int d,int f){
		id=d;
		fs=f;

		count++;
		sum+=f;
	}


	static int getAvg(){
		return sum/count;
	}
};
int CC::count=0;
int CC::sum=0;
int main3() {
	CC c1(1,90),c2(2,100),c3(3,70);
	cout<<CC::getAvg()<<endl;
	cin.get();
	cin.ignore();
	return 0;
}
